package May;

import java.util.Scanner;

public class Test_31_2 {
    public static void main(String[] args){
        Scanner myScanner = new Scanner(System.in);
        System.out.println("请输入名字：");
        String name = myScanner.next();
        System.out.println("请输入年龄：");
        int age = myScanner.nextInt();
        System.out.println("请输入薪水：");
        double sal = myScanner.nextDouble();
        System.out.println("名字：" + name + " 年龄：" + age + " 薪水：" + sal);
    }
}
